Skip to content

[Issue #15] fix trino query execution issues in flink mode#19

Open
gengdy1545 wants to merge 1 commit intoAntiO2:masterfrom
gengdy1545:fixbug/flinkWriter
Open

[Issue #15] fix trino query execution issues in flink mode#19
gengdy1545 wants to merge 1 commit intoAntiO2:masterfrom
gengdy1545:fixbug/flinkWriter

Conversation

@gengdy1545
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e8875c19b2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

{
SchemaTableName schemaTableName = new SchemaTableName(request.getSchemaName(), request.getTableName());
LOGGER.debug("Received poll request for table '{}'", schemaTableName);
FreshnessClient.getInstance().addMonitoredTable(request.getTableName());
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Guard FreshnessClient updates behind embed mode

Only embed mode starts and drains FreshnessClient (PixelsSinkApp calls freshnessClient.start() only when sink.monitor.freshness.level == "embed"), but this new unconditional call runs for every Flink poll request. In row/txn modes it still initializes the singleton and keeps adding table names to monitoredTables even though no scheduler cycle runs to clear them, which can accumulate state unnecessarily and can surface config-time failures from FreshnessClient in modes that should not depend on Trino settings.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant